package com.ruoyi.system.mapper;

import java.util.List;
import java.util.Map;

import com.ruoyi.system.domain.SysCgZqbcMain;

/**
 * SysYmdCgBaseMapper接口
 * 
 * @author SYF
 * @date 2025-05-09
 */
public interface SysCgZqbcMainMapper 
{
    /**
     * 查询SysYmdCgBase
     * 
     * @param fdate SysYmdCgBase主键
     * @return SysYmdCgBase
     */
    public SysCgZqbcMain selectSysCgZqbcMainByFdate(String fdate);

    /**
     * 查询SysYmdCgBase列表
     * 
     * @param sysCgZqbcMain SysYmdCgBase
     * @return SysYmdCgBase集合
     */
    public List<SysCgZqbcMain> selectSysCgZqbcMainList(SysCgZqbcMain sysCgZqbcMain);

    /**
     * 新增SysYmdCgBase
     * 
     * @param sysCgZqbcMain SysYmdCgBase
     * @return 结果
     */
    public int insertSysCgZqbcMain(SysCgZqbcMain sysCgZqbcMain);

    /**
     * 修改SysYmdCgBase
     * 
     * @param sysCgZqbcMain SysYmdCgBase
     * @return 结果
     */
    public int updateSysCgZqbcMain(SysCgZqbcMain sysCgZqbcMain);

    /**
     * 删除SysYmdCgBase
     * 
     * @param fdate SysYmdCgBase主键
     * @return 结果
     */
    public int deleteSysCgZqbcMainByFdate(String fdate);

    /**
     * 批量删除SysYmdCgBase
     * 
     * @param fdates 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSysCgZqbcMainByFdates(String[] fdates);

    public List<SysCgZqbcMain> selectCgZqbcList(SysCgZqbcMain sysCgZqbcMain);

    public List<SysCgZqbcMain> selectCgZqbcAllList(SysCgZqbcMain sysCgZqbcMain);

    public List<SysCgZqbcMain> selectCgZqbcBrandNullList(SysCgZqbcMain sysCgZqbcMain);

    public List<SysCgZqbcMain> selectCgZqbcAllListAccept(SysCgZqbcMain sysCgZqbcMain);

    public List<SysCgZqbcMain> selectCgZqbcBrandNullListAccept(SysCgZqbcMain sysCgZqbcMain);

    public List<Map<String,Object>> selectCgZqbcBrands();

    public List<Map<String,Object>> selectCgZqbcBrandsAcccpt();
}
